Skip to content

Conversation

mtschoen-unity
Copy link
Collaborator

Purpose of this PR

Add utilities for auditing project/scene usage of layers and tags

Testing status

Tested during release prep

Technical risk

Low -- Adds a handful of self-contained windows

Comments to reviewers

As always, a quick side-bar turned into a weekend's worth of work! 😅
I'm pretty happy with where I've gotten these utility windows functionality-wise, but there is a ton of duplicated code which I'd like to take a crack at unifying. The MissingReferenceswindow utilities are a good start at this, but I'd like to create a new AnalysisWindow base class and supporting Folder, GameObjectContainer, ComponentContainer, etc. base classes which all of these utilities (along with SolidColorTextures) can share. The current design also violates MVC in places but I think this gets much closer to MVC with the CreateIfNeccessary methods cleanly breaking out the analysis/generation portion from the UI. I just need to move these methods out of their respective classes.

The .plan file lays out most of what I want to do before I take this one out of draft. I'd like to land #31 ahead of that as well so I can include it in the refactor. Still, I thought it would be nice to share my current progress in case anyone finds it useful. Some screenshots of the current state:
image
image
image
image

@mtschoen-unity mtschoen-unity self-assigned this May 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant